class ProductColorsUnifyColorColumn < ActiveRecord::Migration
  def self.up
    remove_column :product_colors, :color_code
    change_column :product_colors, :color_name, :string, :length => 100
  end

  def self.down
    add_column :product_colors, :color_code, :string, :length => 10
  end
end
